package org.zjt.deepjvm;

public class UseG1 {

    public static void main(String[] args) throws InterruptedException {
        new Thread(() -> {
            while (true){
                System.out.println("sssssssss");
                try {
                    Thread.sleep(10000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        }).start();

        Thread.sleep(1000000000);
    }
}
